package com.lemon.cloud.author.oauth2.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @param
 * @author lemon
 * @description
 * @return
 * @date 2019-08-15 14:31
 */
@Setter
@Getter
@Entity
@Table(name = "user", schema = "oauth2", catalog = "")
public class UserEntity {
    @Id
    @Column(name = "id")
    private int id;

    @Column(name = "username")
    private String username;

    @Column(name = "password")
    private String password;
}
